package excel.imp;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

import java.util.Collections;
import java.util.Map;

@Data
@RefreshScope
@Component
@ConfigurationProperties(prefix = "excel.import.type")
public class ImpTypeConfig {

    private Map<String, ImpType> typeMap = Collections.emptyMap();

    private Integer batchCount = 1000;
}
